package com.eastfair.venuebooking.api;

import com.eastfair.core.base.R;
import com.eastfair.venueservice.vo.WorkOvertimeConfigVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 加班规则配置 feign.
 *
 * @author dqq
 * @date 2022 /10/24
 */
@FeignClient("venue-services-manage/workOvertimeConfig")
public interface WorkOvertimeConfigFeign {

    /**
     * 展会ID查询加班规则配置VO.
     *
     * @param exhibitionManageId the exhibition manage id
     * @return the by exhibition manage id
     */
    @GetMapping("/get/exhibition/{exhibitionManageId}")
    R<WorkOvertimeConfigVO> getByExhibitionManageId(@PathVariable("exhibitionManageId") Long exhibitionManageId);
}